/**
 * 
 */
package com.alphasystem.commerce.model.config;

import static javax.persistence.InheritanceType.JOINED;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.Table;

/**
 * @author sali
 * 
 */
@Entity
@Table(name = "CONFIGURATION")
@Inheritance(strategy = JOINED)
public class Configuration extends AbstractConfiguration {

	private static final long serialVersionUID = 7209232841414190875L;

	protected String value;

	public Configuration() {
		super();
	}

	public Configuration(String id) {
		super(id);
	}

	/**
	 * @return the value
	 */
	@Column(name = "VALUE", nullable = false, length = 256)
	public String getValue() {
		return value;
	}

	/**
	 * @param value
	 *            the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

}
